package com.alangyun.remind;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public abstract class BaseActor {

	private Logger logger = LoggerFactory.getLogger(getClass());	
		
	protected void d(String s) {
		logger.debug(s);
	}
	
	protected void i(String s) {
		logger.debug(s);
	}
	
	protected void w(String s) {
		logger.warn(s);
	}
	
	protected void w(String s, Throwable throwable) {
		logger.warn(s, throwable);
	}
	
	protected void e(String s) {
		logger.error(s);
	}
	
	protected void e(String s, Throwable throwable) {
		logger.error(s, throwable);
	}
	
}
